home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
pcboard
/
ml110.zip
/
ML110.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1996-01-06
|
16KB
|
956 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Boolean BOOLEAN004
Boolean BOOLEAN005
Boolean BOOLEAN006
Boolean BOOLEAN007
Boolean BOOLEAN008
Boolean BOOLEAN009
Boolean BOOLEAN010
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
Integer INTEGER011
Integer INTEGER012
Integer INTEGER013
Integer INTEGER014
Integer INTEGER015
Integer INTEGER016
Integer INTEGER017
Integer INTEGER018
Integer INTEGER019
Integer INTEGER020
Integer INTEGER021
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String TSTRING016(20)
String TSTRING017(20)
String STRING018
String STRING019
String STRING020
String STRING021
String STRING022
String TSTRING023(20)
String STRING024
String STRING025
String STRING026
String STRING027
String STRING028
String STRING029
String STRING030
String STRING031
String STRING032
Declare Procedure PROC001()
Declare Procedure PROC002()
Declare Procedure PROC003()
Declare Procedure PROC004()
Declare Procedure PROC005()
Declare Procedure PROC006()
Declare Procedure PROC007()
Declare Procedure PROC008()
Declare Procedure PROC009()
Declare Procedure PROC010()
Declare Procedure PROC011()
Declare Procedure PROC012()
Declare Procedure PROC013()
Declare Procedure PROC014()
Declare Procedure PROC015()
Declare Procedure PROC016()
;------------------------------------------------------------------------------
PROC016()
PROC009()
While (STRING004 <> "Q") Do
STRING012 = ""
STRING004 = ""
PROC005()
If (BOOLEAN001) PROC002()
PROC007()
If (STRING004 == "M") Then
PROC001()
Continue
Endif
If (STRING004 == "V") Then
PROC003()
Continue
Endif
If (STRING004 == "Q") Then
End
Continue
Endif
If (STRING004 == "?") Then
DispFile PPEPath() + "mainmenu.hlp", 0
Continue
Endif
PROC008()
EndWhile
End
;------------------------------------------------------------------------------
Procedure PROC001()
While (STRING012 <> "Q") Do
STRING012 = ""
INTEGER006 = 1
Cls
PrintLn "@X01", STRING030
PrintLn "@X0B", STRING026, " Mailing List Manager"
PrintLn "@X01", STRING030
PrintLn " @X0BV@X0F.@X03 View a Mailing List"
PrintLn " @X0BE@X0F.@X03 Edit a Mailing List"
PrintLn " @X0BD@X0F.@X03 Delete an Existing List"
PrintLn " @X0BC@X0F.@X03 Create a New List"
PrintLn " @X0BH@X0F.@X03 Help With These Options"
PrintLn " @X0BQ@X0F.@X03 Quit the Mail Manager System"
PrintLn "@X01", STRING030
InputStr "List Manager Command", STRING012, 14, 1, "VEDCHQ?", 2 + 4 + 8 + 64
If (STRING012 == "V") Then
Cls
PROC006()
PROC002()
PrintLn "@X01", STRING030
PROC003()
Continue
Endif
If (STRING012 == "E") Then
Cls
PROC006()
PROC002()
PrintLn "@X01", STRING030
PROC004()
Continue
Endif
If (STRING012 == "D") Then
Cls
PROC006()
PROC002()
PrintLn "@X01", STRING030
PROC014()
Continue
Endif
If (STRING012 == "C") Then
Cls
PROC006()
PROC002()
PrintLn "@X01", STRING030
If (INTEGER021 >= INTEGER020) Then
PrintLn
PrintLn "@X0BThis version of Mailing List supports a maximum"
PrintLn "@X0Bof @X0C", INTEGER020, "@X0B mailing lists for each user."
PrintLn
PROC010()
EndProc
Endif
PROC015()
Continue
Endif
If (STRING012 == "H") Then
DispFile PPEPath() + "manager.hlp", 0
Continue
Endif
If (STRING012 == "?") Then
DispFile PPEPath() + "manager.hlp", 0
Endif
EndWhile
EndProc
;------------------------------------------------------------------------------
Procedure PROC002()
INTEGER006 = 1
INTEGER021 = 0
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 3
:LABEL001
If (Ferr(2)) Goto LABEL002
FGet 2, STRING002
If (Left(STRING002, 1) == "*") Then
STRING002 = Right(STRING002, Len(STRING002) - 1)
PrintLn " @X0A", INTEGER006, ". @X0E", STRING002
INTEGER006 = INTEGER006 + 1
INTEGER021 = INTEGER021 + 1
Endif
Goto LABEL001
:LABEL002
FClose 2
INTEGER010 = INTEGER006 - 1
EndProc
;------------------------------------------------------------------------------
Procedure PROC004()
STRING012 = ""
InputStr "Edit Which List", STRING012, 13, 1, "1234567890?", 2 + 4 + 8 + 64
EndProc
EndProc
EndProc
PROC011()
PROC012()
EndProc
;------------------------------------------------------------------------------
Procedure PROC003()
PrintLn
INTEGER006 = 0
STRING011 = ""
InputStr "View Which List", STRING011, 14, 1, "1234567890", 64 + 2 + 4
Cls
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 3
:LABEL003
If (Ferr(2)) Goto LABEL004
FGet 2, STRING002
If (Left(STRING002, 1) == "*") Then
FGet 2, INTEGER009
INTEGER006 = INTEGER006 + 1
If (String(INTEGER006) == STRING011) Then
PrintLn "@X01──────────────────────────────────────────"
PrintLn "@X09 ", Right(STRING002, Len(STRING002) - 1)
PrintLn "@X01──────────────────────────────────────────"
For INTEGER007 = 1 To INTEGER009
FGet 2, STRING008
PrintLn "@X0E", INTEGER007, ". @X0B", STRING008
Next
PrintLn "@X01──────────────────────────────────────────"
Print "@X03Total of @X0B", INTEGER007 - 1
If (INTEGER007 - 1 > 1) PrintLn " @X03entries in this list."
If (INTEGER007 - 1 == 1) PrintLn " @X03entry in this list."
PrintLn
PROC010()
Endif
Endif
Goto LABEL003
:LABEL004
FClose 2
STRING004 = ""
EndProc
;------------------------------------------------------------------------------
Procedure PROC005()
Cls
PrintLn "@X01", STRING030
PrintLn "@X0B ", STRING026, " Mailing List Manager @X08v1.10"
PrintLn "@X01", STRING030
EndProc
;------------------------------------------------------------------------------
Procedure PROC006()
PrintLn
PrintLn "@X01", STRING030
PrintLn "@X0B Currently Defined Mailing Lists"
PrintLn "@X01", STRING030
EndProc
;------------------------------------------------------------------------------
Procedure PROC007()
STRING004 = ""
FClose 2
PrintLn "@X0E M. @X02Manage Your Mailing List Database"
PrintLn "@X0E ?. @X02Help With This Menu"
PrintLn "@X01", STRING030
PrintLn
Print "@X0DList Commands: @X0B#@X0C:@X0A E-Mail List @X0BV@X0C:@X0Aiew List @X0BM@X0C:@X0Aanage Lists @X0F(@X0B1@X0E-@X0B", INTEGER006 - 1, "@X0F,@X0BV,M,?@X0F)"
InputStr "", STRING004, 10, 1, "1234567890VMQ?", 64 + 2 + 4 + 8
EndProc
;------------------------------------------------------------------------------
Procedure PROC008()
INTEGER006 = 0
BOOLEAN002 = 0
Delete STRING010
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 3
While (!Ferr(2) && !BOOLEAN002) Do
FGet 2, STRING002
If ((Left(STRING002, 1) == "*") && !BOOLEAN002) Then
FGet 2, INTEGER009
INTEGER006 = INTEGER006 + 1
If (String(INTEGER006) == STRING004) Then
INTEGER007 = 1
FOpen 3, STRING010, 1, 3
If (TokenStr() == "CMD") Then
FPut 3, "E"
FPut 3, Chr(13)
FPut 3, "@LIST@"
FPut 3, Chr(13)
Endif
For INTEGER007 = 1 To INTEGER009
FGet 2, STRING008
FPut 3, STRING008
STRING008 = ""
FPut 3, Chr(13)
Next
FClose 3
BOOLEAN002 = 1
Endif
Endif
EndWhile
FClose 2
STRING009 = ""
KbdFile STRING010
End
EndProc
;------------------------------------------------------------------------------
Procedure PROC009()
INTEGER012 = 5
If (BOOLEAN010) INTEGER012 = 20
INTEGER020 = 3
If (BOOLEAN010) INTEGER020 = 20
BOOLEAN001 = 0
STRING032 = "NORMAL"
For INTEGER007 = 1 To 20
TSTRING017(INTEGER007) = "@X05Active Entry"
Next
STRING010 = PPEPath() + "MAILIST." + PcbNode()
FOpen 2, PPEPath() + "listdata\userlist.dat", 0, 2
While (!Ferr(2) && (STRING001 <> U_Name())) Do
FGet 2, STRING001
FGet 2, STRING003
If (STRING001 == U_Name()) Then
BOOLEAN001 = 1
BOOLEAN009 = 0
Endif
EndWhile
FClose 2
If (BOOLEAN001) Goto LABEL006
BOOLEAN009 = 1
PrintLn "@X0EThere are currently no mailing lists in your private address book."
InputStr "Would you like to create one now", STRING012, 14, 1, "YN", 8 + 2 + 4 + 64
If (STRING012 == "N") End
STRING003 = String(CallNum()) + ".LST"
PROC015()
If (BOOLEAN009) Goto LABEL005
FAppend 2, PPEPath() + "listdata\userlist.dat", 1, 3
FPutLn 2, U_Name()
FPutLn 2, String(CallNum()) + ".LST"
FClose 2
:LABEL005
PROC009()
:LABEL006
If (BOOLEAN001) INTEGER006 = 1
EndProc
;------------------------------------------------------------------------------
Procedure PROC010()
InputStr "Press Enter to Continue", STRING013, 10, 1, "", 32
EndProc
;------------------------------------------------------------------------------
Procedure PROC013()
INTEGER015 = 0
PrintLn "@X01Updating..."
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 2
FOpen 3, PPEPath() + "listdata\" + String(CallNum()) + ".$$$", 1, 0
:LABEL007
If (Ferr(2)) Goto LABEL008
FGet 2, STRING002
If (Left(STRING002, 1) == "*") Then
FPutLn 3, STRING002
INTEGER015 = INTEGER015 + 1
INTEGER007 = INTEGER007 + 1
If (String(INTEGER015) <> STRING020) Then
FGet 2, INTEGER013
FPutLn 3, INTEGER013
For INTEGER011 = 1 To INTEGER013
FGet 2, STRING002
FPutLn 3, STRING002
Next
Endif
If (String(INTEGER015) == STRING020) Then
FGet 2, INTEGER013
FPutLn 3, INTEGER016
For INTEGER011 = 1 To INTEGER013
FGet 2, STRING002
Next
For INTEGER011 = 1 To 20
If ((TSTRING016(INTEGER011) <> "") && (TSTRING017(INTEGER011) <> "@X07Marked for Deletion")) Then
FPutLn 3, TSTRING016(INTEGER011)
Endif
Next
Endif
Endif
Goto LABEL007
:LABEL008
FClose 2
FClose 3
STRING019 = PPEPath() + "listdata\" + String(CallNum()) + ".$$$"
STRING018 = PPEPath() + "listdata\" + STRING003
Delete STRING018
Rename STRING019, STRING018
EndProc
;------------------------------------------------------------------------------
Procedure PROC011()
INTEGER007 = 0
STRING020 = STRING012
For INTEGER008 = 1 To 20
TSTRING016(INTEGER008) = ""
TSTRING017(INTEGER008) = "@X05Active Entry"
Next
If (STRING012 > String(INTEGER010)) Then
PrintLn
InputStr "Invalid List Selected. Press Enter to Continue", STRING013, 10, 1, "", 32
EndProc
Else
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 3
:LABEL009
If (Ferr(2)) Goto LABEL010
FGet 2, STRING002
If (Left(STRING002, 1) == "*") Then
INTEGER007 = INTEGER007 + 1
If (String(INTEGER007) == STRING012) Then
FGet 2, INTEGER009
INTEGER016 = INTEGER009
For INTEGER008 = 1 To INTEGER009
FGet 2, TSTRING016(INTEGER008)
Next
Endif
Endif
Goto LABEL009
Endif
:LABEL010
FClose 2
EndProc
;------------------------------------------------------------------------------
Procedure PROC012()
BOOLEAN003 = 0
INTEGER014 = INTEGER009
INTEGER004 = INTEGER009
INTEGER016 = INTEGER009
BOOLEAN005 = 1
STRING005 = ""
STRING012 = ""
BOOLEAN006 = 0
While (STRING005 <> "Q") Do
Cls
PrintLn "@X01──────────────────────────────────────────────────────────────────────────────"
PrintLn "@X0B ", STRING026, " Mailing List Database Manager"
PrintLn "@X01──────────────────────────────────────────────────────────────────────────────"
PrintLn "listpntr=", INTEGER014
For INTEGER008 = 1 To INTEGER014
If (INTEGER008 < 10) Print "@X0A ", INTEGER008, "@X0E. "
If (INTEGER008 > 9) Print "@X0A ", INTEGER008, "@X0E. "
Print "@X0B", TSTRING016(INTEGER008)
STRING007 = ""
For INTEGER011 = 1 To 40 - Len(TSTRING016(INTEGER008))
STRING007 = STRING007 + " "
Next
Print STRING007
PrintLn TSTRING017(INTEGER008)
Next
PrintLn "@X01──────────────────────────────────────────────────────────────────────────────"
Print "@X0DEdit@X09: @X0BD@X0C:@X0Aelete an Entry @X0BA@X0C:@X0Add an Entry @X0BQ@X0C:@X0Auit the Editor @X0E(@X0BD,A,Q@X0E)"
STRING005 = ""
InputStr "", STRING005, 10, 1, "DAQ", 64 + 2 + 4 + 8
If (STRING005 == "D") Then
STRING014 = ""
InputStr "Delete Which Entry ('Q' to Quit)", STRING014, 14, 2, "1234567890Q", 64 + 2 + 4 + 8
If (((Len(STRING014) > 0) && (ToInt(STRING014) <= INTEGER009)) && (ToInt(STRING014) > 0)) Then
Print "@X0BDelete @X0F", TSTRING016(ToInt(STRING014)), " @X0Bfrom your database"
InputStr "", STRING006, 11, 1, "YN", 64 + 2 + 4 + 8
If (STRING006 == "Y") Then
TSTRING017(ToInt(STRING014)) = "@X07Marked for Deletion"
INTEGER016 = INTEGER016 - 1
INTEGER004 = INTEGER004 - 1
Endif
BOOLEAN003 = 1
Endif
Continue
Endif
If (STRING005 == "A") Then
If (INTEGER016 < 0) INTEGER016 = 0
BOOLEAN005 = 1
BOOLEAN003 = 1
BOOLEAN004 = 0
STRING015 = ""
If (INTEGER004 >= INTEGER012) Then
PrintLn
PrintLn "@X0BThis version of Mailing List supports a maximum"
PrintLn "@X0Bof @X0C", INTEGER012, "@X0B entries in each mailing list."
PrintLn
PROC010()
PrintLn
STRING012 = ""
If (BOOLEAN006) Then
InputStr "Save your list modifications", STRING012, 14, 1, "YN", 2 + 8 + 64 + 4
If (STRING012 == "Y") Then
PROC013()
Goto LABEL011
Endif
TSTRING016(INTEGER019) = ""
INTEGER014 = INTEGER019 - 1
Endif
:LABEL011
EndProc
Endif
If (BOOLEAN005) InputStr "Enter the Complete Name to Add", STRING015, 14, 40, Mask_Ascii() , 2 + 4 + 64 + 8
EndProc
INTEGER011 = U_RecNum(Upper(STRING015))
If ((INTEGER011 < 0) && (STRING015 <> "")) Then
STRING032 = "INTERNET"
PrintLn
PrintLn "@X03The username you have entered cannot be found in the system's user"
PrintLn "@X03file. If the username you have entered is an Internet address, or"
PrintLn "@X03contains other such routing information, you may proceed with"
PrintLn "@X03adding it to your database. If it is intended to be a local user,"
PrintLn "@X03please check the spelling of the name, and try again."
PrintLn
Print "@X0DUnknown User@X09: @X0BA@X0C:@X0Add this Name @X0BR@X0C:@X0Aeenter this Name"
InputStr "", STRING031, 10, 1, "AR", 2 + 4 + 64 + 8
If (STRING031 == "R") Then
TSTRING023(INTEGER015) = ""
STRING015 = ""
BOOLEAN005 = 0
Goto LABEL017
Endif
If (STRING031 == "A") Then
BOOLEAN005 = 1
Endif
Endif
For INTEGER008 = 1 To INTEGER014
If ((STRING015 == TSTRING016(INTEGER008)) && (TSTRING017(INTEGER008) <> "@X07Marked for Deletion")) Then
BOOLEAN004 = 1
Endif
Next
If (INTEGER014 > INTEGER012) Then
InputStr "This list is full. Press Enter", STRING012, 12, 1, "", 32
BOOLEAN005 = 0
STRING012 = ""
Endif
If (BOOLEAN004) Then
Print "@X0C", STRING015
InputStr " Already Exists in Your Database. Press Enter", STRING012, 4, 1, "", 32
STRING012 = ""
BOOLEAN005 = 0
Endif
If (BOOLEAN005) Then
For INTEGER008 = 1 To INTEGER016 + 1
If (TSTRING016(INTEGER008) == "") Then
INTEGER019 = INTEGER008
If (BOOLEAN006) Continue
BOOLEAN003 = 1
If (STRING032 == "INTERNET") STRING015 = Lower(STRING015)
TSTRING016(INTEGER008) = STRING015
TSTRING017(INTEGER008) = "New Entry"
INTEGER016 = INTEGER016 + 1
INTEGER004 = INTEGER004 + 1
If (TSTRING017(INTEGER008) <> "@X07Marked for Deletion") INTEGER014 = INTEGER014 + 1
BOOLEAN006 = 1
Endif
Next
Endif
Continue
Endif
If (STRING005 == "Q") Then
If (BOOLEAN003 == 1) Then
PrintLn
STRING012 = ""
InputStr "Save your list modifications", STRING012, 14, 1, "YN", 2 + 8 + 64 + 4
If (STRING012 == "Y") Then
PROC013()
Continue
Endif
TSTRING016(INTEGER019) = ""
INTEGER014 = INTEGER019 - 1
Endif
Endif
EndWhile
EndProc
;------------------------------------------------------------------------------
Procedure PROC014()
INTEGER015 = 0
STRING012 = ""
STRING019 = PPEPath() + "listdata\" + String(CallNum()) + ".$$$"
STRING018 = PPEPath() + "listdata\" + STRING003
Delete STRING019
InputStr "Delete Which List", STRING012, 13, 1, "1234567890?", 2 + 4 + 8 + 64
EndProc
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 3
:LABEL012
If (Ferr(2)) Goto LABEL013
FGet 2, STRING002
If (Left(STRING002, 1) == "*") Then
INTEGER015 = INTEGER015 + 1
If (String(INTEGER015) == STRING012) Then
STRING021 = Right(STRING002, Len(STRING002) - 1)
Endif
Endif
Goto LABEL012
:LABEL013
FClose 2
EndProc
EndProc
Print "@X0ADelete @X0E", STRING021
STRING012 = ""
InputStr " from your database", STRING012, 10, 1, "YN", 2 + 4 + 8 + 64
If (STRING012 == "Y") Then
STRING012 = ""
InputStr "Are You Sure", STRING012, 14, 1, "YN", 2 + 4 + 8 + 64
Endif
If (STRING012 == "Y") Then
INTEGER015 = 0
PrintLn "@X01Updating..."
FOpen 2, PPEPath() + "listdata\" + STRING003, 0, 2
FOpen 3, PPEPath() + "listdata\" + String(CallNum()) + ".$$$", 1, 0
:LABEL014
If (Ferr(2)) Goto LABEL015
FGet 2, STRING002
BOOLEAN007 = 0
If (Left(STRING002, 1) == "*") Then
STRING022 = Right(STRING002, Len(STRING002) - 1)
If (STRING022 == STRING021) Then
BOOLEAN007 = 1
FGet 2, INTEGER013
For INTEGER011 = 1 To INTEGER013
FGet 2, STRING002
Next
Endif
If (STRING022 <> STRING021) Then
FPutLn 3, STRING002
FGet 2, INTEGER013
FPutLn 3, INTEGER013
For INTEGER011 = 1 To INTEGER013
FGet 2, STRING009
FPutLn 3, STRING009
Next
Endif
Endif
Goto LABEL014
:LABEL015
FClose 2
FClose 3
Delete STRING018
Rename STRING019, STRING018
Endif
EndProc
;------------------------------------------------------------------------------
Procedure PROC015()
STRING012 = ""
STRING024 = ""
INTEGER018 = 0
INTEGER015 = 1
BOOLEAN008 = 0
For INTEGER011 = 1 To INTEGER012
TSTRING023(INTEGER011) = ""
Next
PrintLn
If (!BOOLEAN009) PrintLn "@X0AThe above lists are currently defined in your mailing list database."
InputStr "Do you wish to add a new list now", STRING012, 10, 1, "YN", 8 + 2 + 4 + 64
Select Case (STRING012)
Case "Y"
Cls
PrintLn "@X01──────────────────────────────────────────"
PrintLn "@X0B Generate New Mailing List"
PrintLn "@X01──────────────────────────────────────────"
PrintLn
InputStr "Mailing List Name", STRING024, 10, 40, Mask_Ascii(), 2 + 4 + 64
EndProc
PrintLn
PrintLn "@X07Enter the names of the users to be included in this list below."
PrintLn "@X07Entering a blank line will end your data input."
PrintLn
:LABEL016
If (BOOLEAN008) Goto LABEL018
:LABEL017
STRING032 = "NORMAL"
InputStr "User Name", TSTRING023(INTEGER015), 11, 40, Mask_Ascii(), 2 + 4 + 32 + 8
INTEGER011 = U_RecNum(Upper(TSTRING023(INTEGER015)))
If ((INTEGER011 < 0) && (TSTRING023(INTEGER015) <> "")) Then
STRING032 = "INTERNET"
PrintLn
PrintLn "@X03The username you have entered cannot be found in the system's user"
PrintLn "@X03file. If the username you have entered is an Internet address, or"
PrintLn "@X03contains other such routing information, you may proceed with"
PrintLn "@X03adding it to your database. If it is intended to be a local user,"
PrintLn "@X03please check the spelling of the name, and try again."
PrintLn
Print "@X0DUnknown User@X09: @X0BA@X0C:@X0Add this Name @X0BR@X0C:@X0Aeenter this Name"
STRING031 = ""
InputStr "", STRING031, 10, 1, "AR", 2 + 4 + 64 + 8
If (STRING031 == "R") Then
TSTRING023(INTEGER015) = ""
Goto LABEL017
Endif
Endif
If (TSTRING023(INTEGER015) == "") Then
BOOLEAN008 = 1
Endif
For INTEGER017 = 1 To INTEGER015 - 1
If (TSTRING023(INTEGER017) == TSTRING023(INTEGER015)) Then
InputStr "Name Already in List. Please Reenter", STRING012, 14, 1, "", 32
TSTRING023(INTEGER015) = ""
Goto LABEL017
Endif
Next
PrintLn " @X0D> @X03", TSTRING023(INTEGER015)
If (TSTRING023(INTEGER015) <> "") INTEGER018 = INTEGER018 + 1
If (STRING032 == "INTERNET") TSTRING023(INTEGER015) = Lower(TSTRING023(INTEGER015))
INTEGER015 = INTEGER015 + 1
Goto LABEL016
:LABEL018
Cls
If (TSTRING023(1) == "") Goto LABEL019
PrintLn "@X01──────────────────────────────────────────"
PrintLn "@X0B", STRING024, " - New Entries "
PrintLn "@X01──────────────────────────────────────────"
PrintLn
For INTEGER011 = 1 To INTEGER018
If (TSTRING023(INTEGER011) <> "") PrintLn "@X0D", INTEGER011, "@X05. ", TSTRING023(INTEGER011)
Next
PrintLn "@X01──────────────────────────────────────────"
STRING012 = "S"
InputStr "Enter 'S' to Save, 'A' to Abort", STRING012, 14, 1, "SA", 8 + 2 + 4 + 64
If (STRING012 == "S") Then
PrintLn "@X07Updating..."
FAppend 2, PPEPath() + "listdata\" + STRING003, 1, 3
STRING024 = "*" + STRING024
FPutLn 2, STRING024
FPutLn 2, INTEGER018
For INTEGER011 = 1 To INTEGER015
If (TSTRING023(INTEGER011) <> "") FPutLn 2, TSTRING023(INTEGER011)
Next
FClose 2
BOOLEAN009 = 0
Goto LABEL019
Endif
Case "A"
STRING012 = ""
InputStr "Are you sure you want to discard this list", STRING012, 14, 1, "YN", 8 + 2 + 64 + 4
If (STRING012 == "Y") Goto LABEL019
End Select
:LABEL019
For INTEGER011 = 1 To 20
TSTRING023(INTEGER011) = ""
Next
STRING012 = ""
EndProc
;------------------------------------------------------------------------------
Procedure PROC016()
BOOLEAN010 = 1
FOpen 5, PPEPath() + "maillist.cfg", 0, 3
FGet 5, STRING025
FGet 5, STRING026
FGet 5, STRING028
For INTEGER011 = 1 To Len(STRING025)
STRING027 = Mid(STRING025, INTEGER011, 1)
INTEGER001 = Asc(STRING027)
INTEGER002 = INTEGER002 + INTEGER001
Next
For INTEGER011 = 1 To Len(STRING026)
STRING027 = Mid(STRING026, INTEGER011, 1)
INTEGER001 = Asc(STRING027)
INTEGER003 = INTEGER003 + INTEGER001
Next
STRING029 = String((INTEGER002 * Len(Strip(STRING025, " "))) * 9)
STRING029 = STRING029 + String((INTEGER003 * Len(Strip(STRING026, " "))) * 9)
If (STRING029 == STRING028) BOOLEAN010 = 1
INTEGER005 = Len(STRING026)
INTEGER005 = INTEGER005 + 30
For INTEGER011 = 1 To INTEGER005
STRING030 = STRING030 + "─"
Next
EndProc
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 4 End
; 10 Cls
; 148 Goto
; 185 Let
; 12 Print
; 87 PrintLn
; 123 If
; 3 DispFile
; 12 FOpen
; 2 FAppend
; 14 FClose
; 26 FGet
; 6 FPut
; 13 FPutLn
; 4 Delete
; 26 InputStr
; 1 KbdFile
; 2 Rename
; 27 EndProc
;
;
; ■ Functions used :
;
; 4 *
; 147 +
; 17 -
; 56 ==
; 15 <>
; 27 <
; 23 <=
; 8 >
; 46 >=
; 99 !
; 53 &&
; 22 ||
; 14 Len(
; 2 Lower()
; 2 Upper()
; 2 Mid()
; 7 Left()
; 4 Right()
; 8 Ferr()
; 3 Chr()
; 2 Asc()
; 3 U_Name()
; 2 Strip()
; 15 String()
; 3 Mask_Ascii()
; 21 PPEPath()
; 1 PcbNode()
; 1 TokenStr()
; 6 CallNum()
; 2 U_RecNum()
; 7 ToInt()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 22 For/Next
; 5 While/EndWhile
; 55 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------